import request from '@/utils/request'

// 查询钢材成品库存录入列表
export function listGccpkc(query) {
  return request({
    url: '/jhc/gccpkc/list',
    method: 'get',
    params: query
  })
}

// 查询钢材成品库存录入详细
export function getGccpkc(cDate) {
  return request({
    url: '/jhc/gccpkc/' + cDate,
    method: 'get'
  })
}

// 新增钢材成品库存录入
export function addGccpkc(data) {
  return request({
    url: '/jhc/gccpkc',
    method: 'post',
    data: data
  })
}

// 修改钢材成品库存录入
export function updateGccpkc(data) {
  return request({
    url: '/jhc/gccpkc',
    method: 'put',
    data: data
  })
}

// 删除钢材成品库存录入
export function delGccpkc(cDate) {
  return request({
    url: '/jhc/gccpkc/' + cDate,
    method: 'delete'
  })
}
